import java.util.ArrayList;


public class Meal
{
	private 	String 					g_name;
	private 	int 					g_category		= 0;
	private 	int 					g_meal			= 0;
	private 	int 					g_rating		= 0;
	private 	boolean 				g_canFreeze		= false;
	private 	String 					g_notes			= null;
	private 	ArrayList<String> 		g_directions 	= new ArrayList<String>();
	private 	ArrayList<Ingredient> 	g_ingredients 	= new ArrayList<Ingredient>();
	
	
	public void add_to_directions(String d, int index)
	{
		g_directions.add(index, d);
	}
	public void delete_from_directions(int index)
	{
		g_directions.remove(index);
	}
	public void edit_direction(String d, int index)
	{
		//g_directions.
	}
	
	//General get_ methods
	public String 	get_name()		{ return g_name; }
	public int 		get_category()	{ return g_category; }
	public int 		get_meal()		{ return g_meal; }
	public int 		get_rating()	{ return g_rating; }
	public boolean 	get_canFreeze()	{ return g_canFreeze; }
	public String 	get_notes()		{ return g_notes; }
	
	//General set_ methods
	public void 	set_name(String name)		{ g_name = name; }
	public void 	set_category(int cat)		{ g_category = cat; }
	public void 	set_meal(int meal)			{ g_meal = meal; }
	public void 	set_rating(int rating)		{ g_rating = rating; }
	public void 	set_canFreeze(boolean b)	{ g_canFreeze = b; }
	public void 	set_notes(String notes)		{ g_notes = notes; }
	
	public void 	cat_notes(String n)			{ g_notes.concat(n); }
}
